package com.supermarket.manage.common.dto.home.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Faxon
 * @version 1.0
 * @date 2020-03-18 16:04
 **/
@Data
@ApiModel("ProfitDataDto:首页盈利金额相关对象")
public class ProfitDataDto implements Serializable {

    private static final long serialVersionUID = 6907983881903191162L;

    /**
     * 销售金额（出）
     */
    @ApiModelProperty(value = "销售金额")
    private BigDecimal sales;

    /**
     * 采购退货金额（出）
     */
    @ApiModelProperty(value = "采购退货金额")
    private BigDecimal purchasesBack;


    /**
     * 采购金额（入）
     */
    @ApiModelProperty(value = "采购金额")
    private BigDecimal purchases;

    /**
     * 销售退货金额（入）
     */
    @ApiModelProperty(value = "销售退货金额")
    private BigDecimal salesBack;


    /**
     * 总盈利金额
     */
    @ApiModelProperty(value = "总盈利")
    private BigDecimal profit;
}
